package com.jiaozi.base.utils.bean.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 公共返回参数状态
 */
@Getter
@AllArgsConstructor
public enum REnum {
    SUCCESS("10000", "成功"),
    INITIALIZE_PASSWORD("10001", "当前为初始化密码，请重置密码"),
    ERROR("10500", "通用异常"),
    PARAM_ERROR("10501", "参数异常"),

    LOGIN_TOKEN_ERROR("10400", "获取用户信息失败"),
    LOGIN_EXPIRE("10401", "登录信息过期，请重新登录"),

    LOGIN_PASSWORD_ERROR("10403", "用户名或密码错误"),//密码错误出现
    LOGIN_USERNAME_ERROR("10403", "用户名或密码错误"),//用户名错误出现
    LOGIN_ERROR("10405", "登录异常"),

    //账户锁定
    LOGIN_ACCOUNT_LOCK("10541", "账户锁定"),

    LOGIN_ACCOUNT_ERROR("10542", "账户异常"),



    ;




    private String code;
    private String msg;
}
